using System;
using System.Collections.Generic;
using System.Text;

namespace CLFramework.Globalization
{
    /// <summary>
    /// Resouce interface.
    /// </summary>
    public interface IResource
    {
        /// <summary>
        /// Get string from resouce by name.
        /// </summary>
        /// <param name="name">Name.</param>
        /// <returns>Value.</returns>
        string GetString(string name);

        /// <summary>
        /// Get object from resource by name.
        /// </summary>
        /// <param name="name">Name.</param>
        /// <returns>Value.</returns>
        object GetObject(string name);
    }
}
